package com.esteel.settlement.pa.packet;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

import org.hibernate.validator.constraints.Length;

/**
 * 入金模块公用字段
 * @author zhangxiuzhi
 *
 */

@XmlAccessorType(XmlAccessType.FIELD)
public abstract class InMoney extends PaPacket {

	//资金汇总账号
	@XmlElement(name = "SupAcctId")
	@Length(max=32)
	private String supAcctId;
	
	//子账户账号
	@XmlElement(name = "CustAcctId")
	@Length(max=32)
	private String custAcctId;
	
	//入金金额
	@XmlElement(name = "TranAmount")
	private double tranAmount;
	
	//入金账号
	@XmlElement(name = "InAcctId")
	@Length(max=32)
	private String inAcctId;

	//入金账户名称
	@XmlElement(name = "InAcctIdName")
	@Length(max=120)
	private String inAcctIdName;
	
	//币种
	@XmlElement(name = "CcyCode")
	@Length(max=3)
	private String ccyCode;

	public String getSupAcctId() {
		return supAcctId;
	}

	public void setSupAcctId(String supAcctId) {
		this.supAcctId = supAcctId;
	}

	public String getCustAcctId() {
		return custAcctId;
	}

	public void setCustAcctId(String custAcctId) {
		this.custAcctId = custAcctId;
	}

	public double getTranAmount() {
		return tranAmount;
	}

	public void setTranAmount(double tranAmount) {
		this.tranAmount = tranAmount;
	}

	public String getInAcctId() {
		return inAcctId;
	}

	public void setInAcctId(String inAcctId) {
		this.inAcctId = inAcctId;
	}

	public String getInAcctIdName() {
		return inAcctIdName;
	}

	public void setInAcctIdName(String inAcctIdName) {
		this.inAcctIdName = inAcctIdName;
	}

	public String getCcyCode() {
		return ccyCode;
	}

	public void setCcyCode(String ccyCode) {
		this.ccyCode = ccyCode;
	}


	
	
}
